package club.hicode.daydayup.json;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * Json的接收
 *
 * @author Liu Chunfu
 * @date 2018-07-05 下午2:35
 **/
@RestController
public class JsonRecevier {

    @PostMapping("/json")
    public void test1(@RequestBody JsonBody body) {
        System.out.println(body);
    }
}
